<!-- TinyMCE -->
<script type="text/javascript" src="../../../asset/scripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
	tinyMCE.init({
		// General options
		mode : "textareas",
		theme : "simple",
		plugins : "paste",

		theme_advanced_toolbar_location : "top", 
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true
	});	
</script>
{transdelay}
<form method="post" name="frmEdit" action="<?php echo site_url('pembeliancontroller/ubahdelaypembelian');?>">
    <h3 align="center"><u><strong>EDIT MASTER PEMBELIAN BARANG TERTUNDA</strong></u> </h3>
    <table width="100%" cellpadding="3" cellspacing="0" border="1">
    	<tr>
            <td width="131"><strong>Kode Delay</strong></td>
            <td width="24"><strong>:</strong></td>
            <td width="759" colspan="3"><input type="text"  name="kddelay" id="kddelay" maxlength="12" size="25" value="{Nodelay}" readonly="readonly" /></td>
        <tr>
            <td width="131"><strong>Kode NO Po</strong></td>
            <td width="24"><strong>:</strong></td>
            <td width="759" colspan="3"><input type="text"  name="kdpo" id="kdpo" maxlength="12" size="25" value="{NoPo}" readonly="readonly" /></td>
        </tr>
        <tr>
            <td width="131"><strong>Keterangan</strong></td>
            <td width="24"><strong>:</strong></td>
            <td ><input type="text"  name="keterangan" id="keterangan" size="50" maxlength="100" value="{Keterangan}" /></td>
        </tr>
	</table>
    <br />
     <table width="100%" cellpadding="3" cellspacing="0" border="1">
    	<tr style="background-color:#000000; color:#FFF;" align="center">
        	<td colspan="3" height="25"><strong>Detail Delay Pembelian</strong></td>
    	</tr>
        <tr>
            <td width="131"><strong>Nama Barang</strong></td>
            <td width="23"><strong>:</strong></td>
            <td width="760" ><input type="text"  name="namabrg" id="namabrg" maxlength="12" size="25" value="{Productname}" readonly="readonly" /></td>
        </tr>
        <tr>
            <td width="131"><strong>Harga Barang</strong></td>
            <td width="23"><strong>:</strong></td>
            <td ><input type="text"  name="hrgbarang" id="hrgbarang" size="50" maxlength="11" value="{HargaBarang}" /></td>
        </tr>
        <tr>
            <td width="131"><strong>Quantity</strong></td>
            <td width="23"><strong>:</strong></td>
            <td ><input type="text"  name="qty" id="qty" size="50" maxlength="4" value="{Quantity}" /></td>
        </tr>
        <tr>
            <td width="131"><strong>Discount</strong></td>
            <td width="23"><strong>:</strong></td>
            <td ><input type="text"  name="distcoun" id="distcoun" size="50" maxlength="4" value="{Discount}"/></td>
        </tr>
        <tr>
            <td width="131"><strong>Jumlah Haraga</strong></td>
            <td width="23"><strong>:</strong></td>
            <td ><input type="text"  name="jmlhhrg" id="jmlhhrg" size="50" maxlength="11" value="{Amount}"/></td>
        </tr>
        <tr>
            <td colspan="3" align="center"><input type="submit" value="Save" name="btnSave" >&nbsp;<input type="button" name="btnClose" value="Back" class="btn" onclick="javascript:history.back(1);" /></td>
        </tr>
    </table>
</form>
{/transdelay}